﻿using FlashPay.Entity.Response.User;
using System;
using System.Collections.Generic;

namespace FlashPay.Entity.Response.Order
{
    public class OrderRecordResponse
    {
        public String OrderNo { set; get; }
        public DateTime? OrderDate { set; get; }

        public String CardMerchantName { set; get; }
        /// <summary>
        /// 押金审核人
        /// </summary>
        public Int32? DepositUID { set; get; }
        public DateTime? DepositDate { set; get; }
        public Decimal? DepositAmount { set; get; }
        public String DepositCardNumber { set; get; }

        public DateTime? ReceiptDate { set; get; }

        /// <summary>
        /// 收货审核人
        /// </summary>
        public Int32? ReceiptUID { set; get; }

        /// <summary>
        /// 付款审核人
        /// </summary>
        public Int32? PayUID { set; get; }

        public DateTime? PayDate { set; get; }
        public Decimal? PayAmount { set; get; }
        public String PayCardNumber { set; get; }

        public String DeliveryNo { set; get; }

        public Int32? CreateUID { set; get; }
        public int CardMerchantUID { set; get; }//卡管专员
        public DateTime CreateDate { set; get; }

        /// <summary>
        /// 是否有权限
        /// </summary>
        public bool IsCurrentUser { get; set; }

        /// <summary>
        /// 是否有查看权限（大于IsCurrentUser）
        /// </summary>
        public bool IsAuth { get; set; }

        public Dictionary<Int32, UserResponse> UserData { set; get; }
}   
}